<?PHP

class play extends content
{
	//main info array (feed,name,etc)

	//array for sidebar data
	var $sidebar;
	
	function play()
	{
		
	}
	
	function get_sidebar_data()
	{
		mp('get all content for the sidebar');

	}
	
	function digest()
	{
		global $conf;
		mp('use get content to get single item');
		$this->where['id']=$conf->qm[1];
		$this->get_content();
		$this->get_content_extras();
		
		if(!empty($this->data))
		{ 
			$conf->play=TRUE;
			$this->display=TRUE;	
			if($conf->qm[1]==500)
				$conf->page_render='assets/pages/play-default.php';					
			else
				$conf->page_render='assets/pages/play-audio.php';
			
		}

	
	
	
	}
	
	
	
}
?>
